package com.teemo.dp.prototype.demo1;

import java.util.Arrays;

/**
 * @author Teemo
 */
public class Demo {
    public static void main(String[] args) throws CloneNotSupportedException {
        Resume resume = new Resume();
        resume.setName("张三");
        resume.setSex("男");
        resume.setAge(18);
        resume.setSkills(Arrays.asList("java", "python", "c++"));
//        ……
        Resume resume1 = resume.clone();
        resume1.setName("李四");
        System.out.println(resume);
        System.out.println(resume1);

    }
}
